package com.yixq.soa.service.user.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.yixq.soa.service.queryvo.TbActivityQueryVo;
import com.yixq.soa.service.resultvo.TbActivityResultVo;
import com.yixq.soa.service.user.entity.TbActivity;
import com.yixq.soa.service.user.entity.example.TbActivityExample;

public interface TbActivityMapper {
	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int countByExample(TbActivityExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int deleteByExample(TbActivityExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int insert(TbActivity record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int insertSelective(TbActivity record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	List<TbActivity> selectByExample(TbActivityExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	TbActivity selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int updateByExampleSelective(@Param("record") TbActivity record, @Param("example") TbActivityExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int updateByExample(@Param("record") TbActivity record, @Param("example") TbActivityExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int updateByPrimaryKeySelective(TbActivity record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds
	 * to the database table tb_activity
	 *
	 * @mbggenerated Thu Jun 08 15:27:36 CST 2017
	 */
	int updateByPrimaryKey(TbActivity record);

	PageList<TbActivityResultVo> selectListPageByQuery(TbActivityQueryVo query, PageBounds bounds);
}